<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>解构对象</title>
    <script>
       let user = {
           id:10086,
           name:"刘德华",
           age:50
       }

     let {name,...others} = user;

       console.log(others)

    </script>
</head>
<body>

</body>
</html>